package com.kunlun.basedata.user.model;

import com.kunlun.basedata.limit.model.vo.CorrelateVo;
import com.kunlun.common.model.BaseModel;

/**
 * 角色模型
 */
public class RoleModel extends BaseModel {

    /**
     * 角色名称
     */
    private String name;

    /**
     * 状态
     */
    private boolean status;

    /**
     * 描述
     */
    private String describe;

    public RoleModel() {}

    public RoleModel(CorrelateVo correlateVo) {
        this.setId(correlateVo.getTargetId());
        this.setName(correlateVo.getTargetName());
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }
}
